import React from 'react'
import ReactDom from 'react-dom'

class App extends React.Component{
  render() {
    return <Toolbar theme='hello'/>
  }
}

function Toolbar(props) {
  return (
    <div>
      <ThemeButton theme={ props.theme }/>
    </div>
  )
}

class ThemeButton extends React.Component {
  render() {
    return <Button theme={ this.props.theme }></Button>
  }
}

ReactDom.render(
  <App />,
  document.getElementById('root')
)